package com.iweb.comment.service;

import com.iweb.comment.pojo.Comment;
import com.iweb.common.page.DataGrid;

public interface CommentService {
    DataGrid<Comment> findCommentsByArticleId(String articleId, Integer current, Integer size);

    void addComment(Comment comment);

    Comment updateComment(Comment comment);

    void deleteCommentById(String commentId);

    boolean thumpUp(String userId, String commentId);
}
